package com.aizhixin.lab.course.classes.entity;

import com.aizhixin.lab.common.entity.AbstractStringIdAndCreatedDateEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;

@SuppressWarnings("serial")
@Entity(name = "t_course_class")
@ToString
public class CourseClass extends AbstractStringIdAndCreatedDateEntity {
    @Column(name = "course_id")
    @Getter
    @Setter
    private String courseId;
    @Column(name = "teacher_id")
    @Getter
    @Setter
    private Long teacherId;
    @Column(name = "CLASS_ID")
    @Getter
    @Setter
    private Long classId;
    @Column(name = "PROFESSIONAL_ID")
    @Getter
    @Setter
    private Long professionalId;
    @Column(name = "COLLEGE_ID")
    @Getter
    @Setter
    private Long collegeId;
    @Column(name = "stu_num")
    @Getter
    @Setter
    private Integer stuNum = 0;

}
